From: Ben Hutchings Date: Mon, 25 Sep 2017 21:49:55 +0000 (+0100) Subject: ip6_fib: Avoid ABI change in 4.9.51 X-Git-Tag: archive/raspbian/4.9.80-2+rpi1~8^2~18 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/success/%22http:/www.example.com/cgi/success?a=commitdiff_plain;h=f8c1737391e4a29408bdd62818d56e4cee421bab;p=linux-4.9.git ip6_fib: Avoid ABI change in 4.9.51 Commit c5cff8561d2d "ipv6: add rcu grace period before freeing fib6_node" added an rcu_head field to the end of struct fib6_node. As this structure is always allocated and freed inside of the ipv6 module (or built-in code), we can safely hide it from genksyms. Gbp-Pq: Topic debian Gbp-Pq: Name ip6_fib-avoid-abi-change-in-4.9.51.patch --- diff --git a/include/net/ip6_fib.h b/include/net/ip6_fib.h index a6bcb18ac4c3..32c78e2e59fa 100644 --- a/include/net/ip6_fib.h +++ b/include/net/ip6_fib.h @@ -68,7 +68,9 @@ struct fib6_node { __u16 fn_flags; int fn_sernum; struct rt6_info *rr_ptr; +#ifndef __GENKSYMS__ struct rcu_head rcu; +#endif }; #ifndef CONFIG_IPV6_SUBTREES